-
Notifications
You must be signed in to change notification settings - Fork 4
fix getUserData for apps that aren't bots
#57
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
1b75595 to
b0c935d
Compare
getUseData for apps that aren't botsgetUserData for apps that aren't bots
| let path = "users"; | ||
|
|
||
| // github API itself does not tell if contributor is an app. Best guess was to | ||
| // check the `html_url` for the `/apps/` segment |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we not use type which is set to Bot for Copilot?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah, I see, apps are a sub-type of Bot.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, I'm not really sure that Github knows what it is doing. That seems very much like an impl without spec: "we need it, make it happen, doesn't matter how".
|
We also need to fix the name in the Committers list. This PR only changes it in the changes list. |
|
@wagenet which committers list? I think I touched all occurences I could find |
|
This should be handled. Tests do cover that case. Though |

Fixes #56 - and in turn fixes a broken
release-plan